home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / src / src.lha / Library / AmigaMem.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-06  |  682 b   |  33 lines

  1. #ifndef AMIGAMEM_H
  2. #define AMIGAMEM_H
  3.  
  4. #include "parms.h"
  5.  
  6. /*
  7.    These are versions of the standard C memory utilities, except these
  8.    use AllocMem rather than the process' heap.
  9.  
  10.    (If you want to make a shared library, or even a .lib file that
  11.    others (non SAS users) can link to, stay away from the heap
  12.    memory routines.)
  13.  
  14.    *DO NOT* mix memory allocated off the heap with memory allocated
  15.    with these routines!!!
  16.  
  17.    Lee Willis, Oct 1992
  18. */
  19.  
  20. #include <exec/types.h>
  21.  
  22. void* Amalloc __PARMS(( ULONG ));
  23.  
  24. void* Acalloc __PARMS(( ULONG, ULONG ));
  25.  
  26. char* Astrdup __PARMS(( const char* ));
  27.  
  28. void Afree __PARMS(( void* ));
  29.  
  30.  
  31. void *Arealloc __PARMS(( void *, ULONG ));
  32.  
  33. #endif